package com.liu.service;

import com.liu.model.User;

import java.util.List;
import java.util.Map;

/**
 * Created by liu on 2018/1/9.
 */
public interface UserService {
    User login(User user);

    Boolean add(User user);

    Boolean edit(User user);

    Boolean deleteById(String id);

    User findById(String id);

    List<User> findAll(int pageNum, int pageSize, Map<String, Object> queryMap);
}
